
set server_name=hszhny
set version=v1.0

docker-compose -f ../docker-compose/renren-compose.yml down
docker rm %server_name%
docker rmi %server_name%:%version%

cd ../fast_file
docker build --build-arg version=1.0-SNAPSHOT --build-arg profile=dev -t  %server_name%:%version% .

docker-compose -f ../docker-compose/renren-compose.yml up -d

echo 输入任意字符退出
set /input=